package com.homework.api_code.services;

import com.homework.util.ResultMsg;

import java.text.ParseException;

public interface CodeService {
    public String generateCode();

    public boolean saveCode(String email, String code);

    public ResultMsg validate(String email, String code) throws ParseException;
}
